Enhancements protocol configuration markers - #3504
Conversation
There was a problem hiding this comment.
Pull request overview
This PR improves the protocol configuration markers workflow (post-#3393) by enhancing operational documentation, adding an “emergency” CLI mode to skip a safety guard during datum generation, and increasing observability by logging fetched Mithril network configuration in both signer and aggregator components.
Changes:
- Add debug logging of fetched
MithrilNetworkConfigurationin the signer state machine and aggregator epoch service. - Add
--forceto the protocol-configuration import markers command to bypass on-chain configuration verification. - Update the protocol-configuration markers runbook and adjust aggregator JSON configs for
preview/dev.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 8 comments.
Show a summary per file
| File | Description |
|---|---|
| mithril-signer/src/runtime/state_machine.rs | Adds debug logging for the fetched network configuration. |
| mithril-aggregator/src/services/epoch_service.rs | Adds debug logging for the fetched network configuration during epoch informing. |
| mithril-aggregator/src/commands/protocol_configuration_command.rs | Introduces --force on import-markers and updates default protocol parameters; updates CLI parsing test. |
| mithril-aggregator/config/preview.json | Removes protocol_parameters and adds protocol-configuration reader adapter config and other settings for preview. |
| mithril-aggregator/config/dev.json | Removes protocol_parameters and updates adapter-related configuration keys. |
| docs/runbook/protocol-configuration-markers/README.md | Improves runbook commands/output examples and formatting; updates env var naming. |
Suppressed comments (2)
docs/runbook/protocol-configuration-markers/README.md:142
- Wording: “informations” should be “information”.
Execution of previous command must return following informations :
docs/runbook/protocol-configuration-markers/README.md:153
- Spelling in the added command output: “Sucessfully” should be “Successfully”.
Sucessfully wrote Tx datum file at **YOUR_ASSET_PATH**/protocol-configurations-datum.json
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Test Results 5 files ± 0 221 suites ±0 56m 52s ⏱️ - 1h 6m 53s Results for commit 2fd9a6d. ± Comparison against base commit b780e13. This pull request removes 57 tests.♻️ This comment has been updated with latest results. |
9ab8cb2 to
e7a7edc
Compare
edb5c4c to
b90612c
Compare
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 7 out of 7 changed files in this pull request and generated 3 comments.
Suppressed comments (3)
docs/runbook/protocol-configuration-markers/README.md:142
- Grammar: “informations” should be singular here (and no space before the colon).
Execution of previous command must return the following informations :
docs/runbook/protocol-configuration-markers/README.md:145
- This output example uses
**YOUR_ASSET_PATH**, but the runbook definesASSETS_PATHand uses**YOUR_ASSETS_PATH**elsewhere. Use the same placeholder consistently.
Reading file content **YOUR_ASSET_PATH**/protocol-configurations.json
docs/runbook/protocol-configuration-markers/README.md:153
- This output example uses
**YOUR_ASSET_PATH**, but the runbook definesASSETS_PATHand uses**YOUR_ASSETS_PATH**elsewhere. Use the same placeholder consistently.
Successfully wrote Tx datum file at **YOUR_ASSET_PATH**/protocol-configurations-datum.json
…rkers datum generation and update default protocol parameters
b90612c to
f8d4b38
Compare
* mithril-aggregator from `0.10.1` to `0.10.2` * mithril-signer from `1.2.0` to `1.2.1`
Content
Minor update after #3393
import-markerscommand,--force, which bypasses theverify_configurations_against_chainfunction when producing the datum filemithril-aggregator/config(removingprotocol_parameters, addingprotocol_configuration_reader_adapter_configforpreview)Pre-submit checklist
This PR closes #3503